package com.nus.fellowmark.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * System Menu/Privilege Table
 * 
 * @author Chen Ruoyi
 * @email chenruoyisz@gmail.com
 * @date 2023-02-11  
 */
@Data
@TableName("sys_menu")
public class SysMenuEntity implements Serializable {
	private static final long serialVersionUID = 1L;

 
	@TableId
	private Integer id;
	/**
	 * parent ID
	 */
	private Integer pid;
	/**
	 * content
	 */
	private String title;
	/**
	 * url
	 */
	private String url;
	/**
	 * menu icon
	 */
	private String icon;
	/**
	 * Authorization identifier: for backend control class definition. Example:user:list
	 */
	private String code;
	/**
	 * Permission Type: 1-Catalog | 2-Menu-Main Menu | 3-Button | 5-Left Menu
	 */
	private Integer type;
	/**
	 * Menu Sort The bigger the value, the higher the front
	 */
	private Integer ord;
	/**
	 * Status: 0-normal | 1-banned | 2-normal with no bans
	 */
	private Integer status;
	/**
	 * is deleted? 0-no 1-yes
	 */
	private Integer deleted;
	/**
	 * creation time
	 */
	@TableField(value = "createTime")
	private Date createTime;
	/**
	 * updated time
	 */
	@TableField(value = "updateTime")
	private Date updateTime;

}
